package com.wutao.panzh.admin.content;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

//设置不允许DataSourceAutoConfiguration和HibernateJpaAutoConfiguration进行自动注入，在前端页面展示，也用不到这个;
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class})
@ServletComponentScan
@ComponentScan("com.wutao.panzh")
public class PanzhAdminContentApplication {

    public static void main(String[] args) {
        SpringApplication.run(PanzhAdminContentApplication.class, args);
    }

}
